<template>
	<view class="all-main">
		<view class="main">
			<view class="lists">
				<view class="items" @click="pathTo(1)">
					<view class="lefts">
						<u-icon name="bag-fill" size="22" color="#2979ff"></u-icon>
						<text class="title">终端分析</text>
					</view>
					<view class="rights">
						<u-icon name="arrow-right"></u-icon>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			pathTo(type) {
				var path = '/pages/hzy/analysis/terminal'
				if (type == 1) {
					path = '/pages/hzy/analysis/terminal'
				}
				uni.navigateTo({
					url: path
				})
			}
		}
	}
</script>

<style lang="scss">
	.all-main {
		.main {
			padding: 30rpx;
			
			.lists {
				.items {
					margin-bottom: 30rpx;
					background-color: #ffffff;
					padding: 30rpx;
					display: flex;
					justify-content: space-between;
					align-items: center;
					
					.lefts {
						display: flex;
						
						.title {
							margin-left: 10rpx;
							font-weight: bold;
						}
					}
				}
			}
		}
	}
</style>